$OpenBSD: patch-examples_Makefile_in,v 1.4 2009/12/13 22:01:32 sthen Exp $
--- examples/Makefile.in.orig	Sat Aug 22 14:17:18 2009
+++ examples/Makefile.in	Thu Aug 27 23:29:13 2009
@@ -75,6 +75,7 @@ BUILDABLE_EXAMPLES = @BUILDABLE_EXAMPLES@
 CAIRO_CFLAGS = @CAIRO_CFLAGS@
 CAIRO_LIBS = @CAIRO_LIBS@
 CC = @CC@
+COMPAT_LIBS = @COMPAT_LIBS@
 CPP = @CPP@
 CXX = @CXX@
 CXXCPP = @CXXCPP@
@@ -173,7 +174,7 @@ LDADDENC = ../lib/libtheoraenc.la ../lib/libtheoradec.
 
 dump_video_SOURCES = dump_video.c
 EXTRA_dump_video_SOURCES = getopt.c getopt1.c getopt.h
-dump_video_LDADD = $(GETOPT_OBJS) $(LDADDDEC)
+dump_video_LDADD = $(GETOPT_OBJS) $(LDADDDEC) $(COMPAT_LIBS)
 
 dump_psnr_SOURCES = dump_psnr.c
 EXTRA_dump_psnr_SOURCES = getopt.c getopt1.c getopt.h
